/**
 * <p>
 * </p>
 *
 * @author zhuolin
 * @since 2020/5/26
 */
public class NewThread {
    public static void main(String[] args) {
        Thread thread = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Thread.currentThread().getName() + "xxxxxxxxxxxx");
            }
        });
        //子线程调动
        thread.start();
        // 主线程调用
        thread.run();

    }
}
